'use strict';

const { Controller } = require('egg');
const { Op } = require('sequelize');
const serviceName = 'dict'
class RouterController extends Controller {
    async refresh() {
        const { ctx } = this;
        let query = ctx.query;
        const res = await ctx.service[serviceName].refresh(query);
        ctx.success(res, 200)
    }
}

module.exports = RouterController;
